import { SerializeStream } from "../../Framework/Serialize/SerializeStream";
import { MarshalException } from "../../Engine/RMI/MarshalException";
type int = number;
//class ESkillType
    
    export  class ESkillType
    {
        constructor(arg1: int)
        {
            
            this.__value = arg1;
            return;
        }

        public static __read(arg1: SerializeStream): ESkillType
        {
            var loc1=arg1.readByte();
            if (loc1 < 0 || loc1 >= 41) 
            {
                throw new MarshalException();
            }
            return ESkillType.convert(loc1);
        }

        public value(): int
        {
            return this.__value;
        }

        public __write(arg1: SerializeStream): void
        {
            arg1.writeByte(this.__value);
            return;
        }

        public static convert(arg1: int): ESkillType
        {
            return new ESkillType(arg1);
        }

        public static /* const */_ESkillTypeComboDamage: int=2;

        public static /* const */_ESkillTypeSplitDamage: int=3;

        public static /* const */_ESkillTypeCure: int=4;

        public static /* const */_ESkillTypeRecoverBlue: int=5;

        public static /* const */_ESkillTypeSuckBlood: int=6;

        public static /* const */_ESkillTypeAttackRecoverLife: int=7;

        public static /* const */_ESkillTypeSuckBlue: int=8;

        public static /* const */_ESkillTypeBurnBlue: int=9;

        public static /* const */_ESKillTypeBeatBack: int=10;

        public static /* const */_ESkillTypeRushForward: int=11;

        public static /* const */_ESkillTypePull: int=12;

        public static /* const */_ESKillTypeTransfer: int=13;

        public static /* const */_ESkillTypeAppendState: int=14;

        public static /* const */_ESkillTypeSelfDestruction: int=15;

        public static /* const */_ESKillTypeCheatDeath: int=16;

        public static /* const */_ESKillTypeSnipe: int=17;

        public static /* const */_ESkillTypeRemoveException: int=18;

        public static /* const */_ESkillTypeBreakUp: int=19;

        public static /* const */_ESKillTypeSummon: int=20;

        public static /* const */_ESkillTypeRecoverLife: int=21;

        public static /* const */_ESkillTypeCopyBody: int=22;

        public static /* const */_ESkillTypeChangeBody: int=23;

        public static /* const */_ESkillTypeBreakIn: int=24;

        public static /* const */_ESkillTypeTrap: int=25;

        public static /* const */_ESkillTypeLightring: int=26;

        public static /* const */_ESkillTypeBlackCurtain: int=27;

        public static /* const */_ESkillTypeProfessionalism: int=28;

        public static /* const */_ESkillTypeNormal: int=29;

        public static /* const */_ESkillTypeSwitchBuff: int=30;

        public static /* const */_ESkillTypeShareLife: int=31;

        public static /* const */_ESkillTypeChainDamage: int=33;

        public static /* const */_ESkillTypeBlew: int=34;

        public static /* const */_ESkillTypeGuild: int=35;

        public static /* const */_ESkillTypeMarry: int=36;

        public static /* const */_ESkillTypeSummonBoss: int=32;

        public static /* const */_ESkillTypePurify: int=38;

        public static /* const */_ESkillTypeBewilder: int=39;

        public static /* const */_ESkillTypeClearHatred: int=40;

        public static /* const */_ESkillTypeDirectDamage: int=1;

        public static /* const */_ESkillTypeAddledComboDamage: int=37;

        public /* var */__value: int;
    }
